package com.dongzili.binlog.common.binlogsynchronization;

import lombok.Data;

/**
 * 字段属性对象
 *

 **/
@Data
public class Colum {

  public int inx;
  public String colName; // 列名
  public String dataType; // 类型
  public String schema; // 数据库
  public String table; // 表
  public IndexType indexType; // 索引类型
  public String columnComment; // 列注释

  public Colum() {

  }

  public Colum(String schema, String table, int idx, String colName, String dataType, IndexType indexType, String columnComment) {
    this.schema = schema;
    this.table = table;
    this.colName = colName;
    this.dataType = dataType;
    this.inx = idx;
    this.indexType = indexType;
    this.columnComment = columnComment;

  }

}

